<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models\Shop;

use App\Models\Base;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;

/**
 * Class GoodsClass
 *
 * @property int $id
 * @property string $name
 * @property int $sort
 * @property Carbon $created_at
 * @property Carbon $updated_at
 *
 * @package App\Models
 */
class GoodsClass extends Base
{
    protected $table = 'goods_class';

    protected $casts = [
        'parent_id' => 'int',
        'sort' => 'int'
    ];

    protected $fillable = [
        'icon',
        'parent_id',
        'name',
        'sort'
    ];
}
